<template>
  <div class="settings">
    <h3>全局设置</h3>
    <form @submit.prevent="saveSettings">
      <label>视频地址：</label>
      <input v-model="videoUrl" />

      <label>轮播图地址（逗号分隔）：</label>
      <input v-model="bannerUrls" />

      <button type="submit">保存设置</button>
    </form>
  </div>
</template>

<script>
export default {
  name: 'Settings',
  data() {
    return {
      videoUrl: '',
      bannerUrls: ''
    }
  },
  methods: {
    saveSettings() {
      alert('设置已保存');
    }
  }
}
</script>